Unpredictable "passthrough" behaviour
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
"passthrough:" stanza behaves differently when used in snapcraft.yaml and gadget.yaml
If used in snapcraft.yaml, "passthrough" level is removed and the block under "passthrough" is bumped one level up, without snapcraft doing any sanity parsing of that block.
Like this, there is no "passthrough" in generated meta/snap.yaml
I assume this is correct behaviour.
But if "passthrough" us used in gadget.yaml, it is not touched and passed to generated meta/gadget.yaml
This created inconsistent behaviour and easily leads to yaml file in gadget snap having unexpected content.
Evaluation history
No evaluation history available.